/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ArbolD;

/**
 *
 * @author Karadak
 */
public class filtro_eda extends javax.swing.filechooser.FileFilter
{
    String extension = "eda";
        
    @Override    
    public boolean accept (java.io.File f)
    {
        String s = f.getName();
        if (f.isDirectory())
        {
            return true;
        }
        if (s.endsWith(extension))
        {
            return true;
        }
        else
            return false;
    }
    @Override
    public String getDescription()
    {
        return (".eda");
    }
}